package com.cl.park.model;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class AjaxResponse {
	private boolean success;
	private String message;
	private Object model;
	
	public AjaxResponse(boolean success) {
		super();
		this.success = success;
	}
	
	public AjaxResponse(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}
	
	public AjaxResponse(boolean success, String message, Object model) {
		super();
		this.success = success;
		this.message = message;
		this.model = model;
	}
	
}
